# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=goog-mail
pkgver=1.0
pkgrel=4
pkgdesc='Enumerate domain emails from google.'
url='http://www.darkc0de.com/others/goog-mail.py'
groups=('blackarch' 'blackarch-recon')
arch=('any')
license=('custom:unknown')
depends=('python2')
source=("$pkgname::http://rafale.org/~mattoufoutu/darkc0de.com/others/goog-mail.py")
sha512sums=('35aa95ac9aa4c87a985612bd3276044558a06e37f8e9ebd2fc1ac9cf23ce51f1d6d134a9ed108cbacba376ab147e5c3d67cff7e13ed5a9016f11ec42b43bac08')

prepare() {
  sed -i 's|/usr/bin/python|/usr/bin/env python2|' $pkgname
}

package() {
  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
}

